(Fpos_visible_in_window_p): Adapt to new pos_visible_p.
authorKim F. Storm <storm@cua.dk>
Tue, 5 Sep 2006 22:49:43 +0000 (22:49 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 5 Sep 2006 22:49:43 +0000 (22:49 +0000)
commit1a37b7e30ebdc508cd8902cd23d9485df8b1f746
treeadcf3f50e367b4fd8ed8c84b921d3b97edbf5474
parent81840c2ebdccc13f028649fcdc1c3d9cf3e468ce
(Fpos_visible_in_window_p): Adapt to new pos_visible_p.
Return row height and row number for partially visible rows.
Modify return value to a 2 element list for fully visible rows
and 6 for partially visible row.
(window_scroll_pixel_based): Use pos_visible_p directly instead of
Fpos_visible_in_window_p.  Fix auto vscrolling for partially visible lines.
Only vscroll backwards if already vscrolled forwards.  Unconditionally
vscroll forwards if PT is first (and only) line.  Set new window start
instead of scrolling at start/end of tall line.
src/window.c